<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Test2::Event - Base class for events - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/Test2::Event">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Test2::Event.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/Test2::Event">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/Test2::Event">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/Test2::Event">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/Test2::Event">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/Test2::Event">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/Test2::Event">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/Test2::Event">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/Test2::Event">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/Test2::Event">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/Test2::Event">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/Test2::Event">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/Test2::Event">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/Test2::Event">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/Test2::Event">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/Test2::Event">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/Test2::Event">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/Test2::Event">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/Test2::Event">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/Test2::Event">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/Test2::Event">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/Test2::Event">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/Test2::Event">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/Test2::Event">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/Test2::Event">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/Test2::Event">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/Test2::Event">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/Test2::Event">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/Test2::Event">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/Test2::Event">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/Test2::Event">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/Test2::Event">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/Test2::Event">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/Test2::Event">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/Test2::Event">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/Test2::Event">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/Test2::Event">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/Test2::Event">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/Test2::Event">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/Test2::Event">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/Test2::Event">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/Test2::Event">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/Test2::Event">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/Test2::Event">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/Test2::Event">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/Test2::Event">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/Test2::Event">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/Test2::Event">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/Test2::Event">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/Test2::Event">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/Test2::Event">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/Test2::Event">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/Test2::Event">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/Test2::Event">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/Test2::Event">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/Test2::Event">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/Test2::Event">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/Test2::Event">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/Test2::Event">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/Test2::Event">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/Test2::Event">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/Test2::Event">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/Test2::Event">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/Test2::Event">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/Test2::Event">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/Test2::Event">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/Test2::Event">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/Test2::Event">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/Test2::Event">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/Test2::Event">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/Test2::Event">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/Test2::Event">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/Test2::Event">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/Test2::Event">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/Test2::Event">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/Test2::Event">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/Test2::Event">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/Test2::Event">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/Test2::Event">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/Test2::Event">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/Test2::Event">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Test2::Event.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/Test2::Event">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/Test2::Event">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/Test2::Event">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/Test2::Event">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/Test2::Event">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/Test2::Event">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/Test2::Event">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/Test2::Event">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/Test2::Event">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/Test2::Event">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/Test2::Event">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/Test2::Event">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/Test2::Event">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/Test2::Event">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/Test2::Event">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/Test2::Event">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/Test2::Event">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/Test2::Event">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/Test2::Event">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/Test2::Event">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/Test2::Event">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/Test2::Event">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/Test2::Event">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/Test2::Event">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/Test2::Event">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/Test2::Event">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/Test2::Event">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/Test2::Event">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/Test2::Event">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/Test2::Event">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/Test2::Event">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/Test2::Event">5.35.1</a>
          <a class="dropdown-item active" href="./Test2::Event.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Test2::Event.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="./Test2::Event.html">Test2::Event</a>
          <div id="more">
            (<a href="./Test2::Event.txt">source</a>,
            <a href="https://metacpan.org/pod/Test2::Event">CPAN</a>)
          </div>
            <div id="moduleversion">version 1.302183</div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#DESCRIPTION">DESCRIPTION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#SYNOPSIS">SYNOPSIS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#METHODS">METHODS</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#GENERAL">GENERAL</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#NEW-API">NEW API</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#WHAT-ARE-FACETS?">WHAT ARE FACETS?</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#LEGACY-API">LEGACY API</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#THIRD-PARTY-META-DATA">THIRD PARTY META-DATA</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#SOURCE">SOURCE</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#MAINTAINERS">MAINTAINERS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#AUTHORS">AUTHORS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::Event.html#COPYRIGHT">COPYRIGHT</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="./Test2::Event.html#NAME">#</a>NAME</h1>

<p>Test2::Event - Base class for events</p>

<h1 id="DESCRIPTION"><a class="permalink" href="./Test2::Event.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p>Base class for all event objects that get passed through <a href="Test2.html">Test2</a>.</p>

<h1 id="SYNOPSIS"><a class="permalink" href="./Test2::Event.html#SYNOPSIS">#</a>SYNOPSIS</h1>

<pre><code>package Test2::Event::MyEvent;
use strict;
use warnings;

# This will make our class an event subclass (required)
use base &#39;Test2::Event&#39;;

# Add some accessors (optional)
# You are not obligated to use HashBase, you can use any object tool you
# want, or roll your own accessors.
use Test2::Util::HashBase qw/foo bar baz/;

# Use this if you want the legacy API to be written for you, for this to
# work you will need to implement a facet_data() method.
use Test2::Util::Facets2Legacy;

# Chance to initialize some defaults
sub init {
    my $self = shift;
    # no other args in @_

    $self-&gt;set_foo(&#39;xxx&#39;) unless defined $self-&gt;foo;

    ...
}

# This is the new way for events to convey data to the Test2 system
sub facet_data {
    my $self = shift;

    # Get common facets such as &#39;about&#39;, &#39;trace&#39; &#39;amnesty&#39;, and &#39;meta&#39;
    my $facet_data = $self-&gt;common_facet_data();

    # Are you making an assertion?
    $facet_data-&gt;{assert} = {pass =&gt; 1, details =&gt; &#39;my assertion&#39;};
    ...

    return $facet_data;
}

1;</code></pre>

<h1 id="METHODS"><a class="permalink" href="./Test2::Event.html#METHODS">#</a>METHODS</h1>

<h2 id="GENERAL"><a class="permalink" href="./Test2::Event.html#GENERAL">#</a>GENERAL</h2>

<dl>

<dt id="$trace-=-$e-&gt;trace"><a class="permalink" href="./Test2::Event.html#$trace-=-$e-%3Etrace">#</a><a id="trace-e-trace"></a>$trace = $e-&gt;trace</dt>
<dd>

<p>Get a snapshot of the <a href="./Test2::EventFacet::Trace.html">Test2::EventFacet::Trace</a> as it was when this event was generated</p>

</dd>
<dt id="$bool_or_undef-=-$e-&gt;related($e2)"><a class="permalink" href="./Test2::Event.html#$bool_or_undef-=-$e-%3Erelated($e2)">#</a><a id="bool_or_undef-e-related-e2"></a>$bool_or_undef = $e-&gt;related($e2)</dt>
<dd>

<p>Check if 2 events are related. In this case related means their traces share a signature meaning they were created with the same context (or at the very least by contexts which share an id, which is the same thing unless someone is doing something very bad).</p>

<p>This can be used to reliably link multiple events created by the same tool. For instance a failing test like <code>ok(0, &quot;fail&quot;</code> will generate 2 events, one being a <a href="./Test2::Event::Ok.html">Test2::Event::Ok</a>, the other being a <a href="./Test2::Event::Diag.html">Test2::Event::Diag</a>, both of these events are related having been created under the same context and by the same initial tool (though multiple tools may have been nested under the initial one).</p>

<p>This will return <code>undef</code> if the relationship cannot be checked, which happens if either event has an incomplete or missing trace. This will return <code>0</code> if the traces are complete, but do not match. <code>1</code> will be returned if there is a match.</p>

</dd>
<dt id="$e-&gt;add_amnesty({tag-=&gt;-$TAG,-details-=&gt;-$DETAILS});"><a class="permalink" href="./Test2::Event.html#$e-%3Eadd_amnesty(%7Btag-=%3E-$TAG,-details-=%3E-$DETAILS%7D);">#</a><a id="add_amnesty"></a><a id="e-add_amnesty-tag-TAG-details-DETAILS"></a>$e-&gt;add_amnesty({tag =&gt; $TAG, details =&gt; $DETAILS});</dt>
<dd>

<p>This can be used to add amnesty to this event. Amnesty only effects failing assertions in most cases, but some formatters may display them for passing assertions, or even non-assertions as well.</p>

<p>Amnesty will prevent a failed assertion from causing the overall test to fail. In other words it marks a failure as expected and allowed.</p>

<p><b>Note:</b> This is how &#39;TODO&#39; is implemented under the hood. TODO is essentially amnesty with the &#39;TODO&#39; tag. The details are the reason for the TODO.</p>

</dd>
<dt id="$uuid-=-$e-&gt;uuid"><a class="permalink" href="./Test2::Event.html#$uuid-=-$e-%3Euuid">#</a><a id="uuid-e-uuid"></a>$uuid = $e-&gt;uuid</dt>
<dd>

<p>If UUID tagging is enabled (See <a href="./Test::API.html">Test::API</a>) then any event that has made its way through a hub will be tagged with a UUID. A newly created event will not yet be tagged in most cases.</p>

</dd>
<dt id="$class-=-$e-&gt;load_facet($name)"><a class="permalink" href="./Test2::Event.html#$class-=-$e-%3Eload_facet($name)">#</a><a id="class-e-load_facet-name"></a>$class = $e-&gt;load_facet($name)</dt>
<dd>

<p>This method is used to load a facet by name (or key). It will attempt to load the facet class, if it succeeds it will return the class it loaded. If it fails it will return <code>undef</code>. This caches the result at the class level so that future calls will be faster.</p>

<p>The <code>$name</code> variable should be the key used to access the facet in a facets hashref. For instance the assertion facet has the key &#39;assert&#39;, the information facet has the &#39;info&#39; key, and the error facet has the key &#39;errors&#39;. You may include or omit the &#39;s&#39; at the end of the name, the method is smart enough to try both the &#39;s&#39; and no-&#39;s&#39; forms, it will check what you provided first, and if that is not found it will add or strip the &#39;s and try again.</p>

</dd>
<dt id="@classes-=-$e-&gt;FACET_TYPES()"><a class="permalink" href="./Test2::Event.html#@classes-=-$e-%3EFACET_TYPES()">#</a><a id="classes-e-FACET_TYPES"></a>@classes = $e-&gt;FACET_TYPES()</dt>
<dd>

</dd>
<dt id="@classes-=-Test2::Event-&gt;FACET_TYPES()"><a class="permalink" href="./Test2::Event.html#@classes-=-Test2::Event-%3EFACET_TYPES()">#</a><a id="classes-Test2::Event-FACET_TYPES"></a>@classes = Test2::Event-&gt;FACET_TYPES()</dt>
<dd>

<p>This returns a list of all facets that have been loaded using the <code>load_facet()</code> method. This will not return any classes that have not been loaded, or have been loaded directly without a call to <code>load_facet()</code>.</p>

<p><b>Note:</b> The core facet types are automatically loaded and populated in this list.</p>

</dd>
</dl>

<h2 id="NEW-API"><a class="permalink" href="./Test2::Event.html#NEW-API">#</a><a id="NEW"></a>NEW API</h2>

<dl>

<dt id="$hashref-=-$e-&gt;common_facet_data();"><a class="permalink" href="./Test2::Event.html#$hashref-=-$e-%3Ecommon_facet_data();">#</a><a id="hashref-e-common_facet_data"></a>$hashref = $e-&gt;common_facet_data();</dt>
<dd>

<p>This can be used by subclasses to generate a starting facet data hashref. This will populate the hashref with the trace, meta, amnesty, and about facets. These facets are nearly always produced the same way for all events.</p>

</dd>
<dt id="$hashref-=-$e-&gt;facet_data()"><a class="permalink" href="./Test2::Event.html#$hashref-=-$e-%3Efacet_data()">#</a><a id="hashref-e-facet_data"></a>$hashref = $e-&gt;facet_data()</dt>
<dd>

<p>If you do not override this then the default implementation will attempt to generate facets from the legacy API. This generation is limited only to what the legacy API can provide. It is recommended that you override this method and write out explicit facet data.</p>

</dd>
<dt id="$hashref-=-$e-&gt;facets()"><a class="permalink" href="./Test2::Event.html#$hashref-=-$e-%3Efacets()">#</a><a id="hashref-e-facets"></a>$hashref = $e-&gt;facets()</dt>
<dd>

<p>This takes the hashref from <code>facet_data()</code> and blesses each facet into the proper <code>Test2::EventFacet::*</code> subclass. If no class can be found for any given facet it will be passed along unchanged.</p>

</dd>
<dt id="@errors-=-$e-&gt;validate_facet_data();"><a class="permalink" href="./Test2::Event.html#@errors-=-$e-%3Evalidate_facet_data();">#</a><a id="errors-e-validate_facet_data"></a>@errors = $e-&gt;validate_facet_data();</dt>
<dd>

</dd>
<dt id="@errors-=-$e-&gt;validate_facet_data(%params);"><a class="permalink" href="./Test2::Event.html#@errors-=-$e-%3Evalidate_facet_data(%25params);">#</a><a id="errors-e-validate_facet_data-params"></a>@errors = $e-&gt;validate_facet_data(%params);</dt>
<dd>

</dd>
<dt id="@errors-=-$e-&gt;validate_facet_data(\%facets,-%params);"><a class="permalink" href="./Test2::Event.html#@errors-=-$e-%3Evalidate_facet_data(%5C%25facets,-%25params);">#</a><a id="errors-e-validate_facet_data-facets-params"></a>@errors = $e-&gt;validate_facet_data(\%facets, %params);</dt>
<dd>

</dd>
<dt id="@errors-=-Test2::Event-&gt;validate_facet_data(%params);"><a class="permalink" href="./Test2::Event.html#@errors-=-Test2::Event-%3Evalidate_facet_data(%25params);">#</a><a id="errors-Test2::Event-validate_facet_data-params"></a>@errors = Test2::Event-&gt;validate_facet_data(%params);</dt>
<dd>

</dd>
<dt id="@errors-=-Test2::Event-&gt;validate_facet_data(\%facets,-%params);"><a class="permalink" href="./Test2::Event.html#@errors-=-Test2::Event-%3Evalidate_facet_data(%5C%25facets,-%25params);">#</a><a id="errors-Test2::Event-validate_facet_data-facets-params"></a>@errors = Test2::Event-&gt;validate_facet_data(\%facets, %params);</dt>
<dd>

<p>This method will validate facet data and return a list of errors. If no errors are found this will return an empty list.</p>

<p>This can be called as an object method with no arguments, in which case the <code>facet_data()</code> method will be called to get the facet data to be validated.</p>

<p>When used as an object method the <code>\%facet_data</code> argument may be omitted.</p>

<p>When used as a class method the <code>\%facet_data</code> argument is required.</p>

<p>Remaining arguments will be slurped into a <code>%params</code> hash.</p>

<p>Currently only 1 parameter is defined:</p>

<dl>

<dt id="require_facet_class-=&gt;-$BOOL"><a class="permalink" href="./Test2::Event.html#require_facet_class-=%3E-$BOOL">#</a><a id="require_facet_class"></a><a id="require_facet_class-BOOL"></a>require_facet_class =&gt; $BOOL</dt>
<dd>

<p>When set to true (default is false) this will reject any facets where a facet class cannot be found. Normally facets without classes are assumed to be custom and are ignored.</p>

</dd>
</dl>

</dd>
</dl>

<h3 id="WHAT-ARE-FACETS?"><a class="permalink" href="./Test2::Event.html#WHAT-ARE-FACETS?">#</a><a id="WHAT"></a><a id="WHAT-ARE-FACETS"></a>WHAT ARE FACETS?</h3>

<p>Facets are how events convey their purpose to the Test2 internals and formatters. An event without facets will have no intentional effect on the overall test state, and will not be displayed at all by most formatters, except perhaps to say that an event of an unknown type was seen.</p>

<p>Facets are produced by the <code>facet_data()</code> subroutine, which you should nearly-always override. <code>facet_data()</code> is expected to return a hashref where each key is the facet type, and the value is either a hashref with the data for that facet, or an array of hashrefs. Some facets must be defined as single hashrefs, some must be defined as an array of hashrefs, No facets allow both.</p>

<p><code>facet_data()</code> <b>MUST NOT</b> bless the data it returns, the main hashref, and nested facet hashrefs <b>MUST</b> be bare, though items contained within each facet may be blessed. The data returned by this method <b>should</b> also be copies of the internal data in order to prevent accidental state modification.</p>

<p><code>facets()</code> takes the data from <code>facet_data()</code> and blesses it into the <code>Test2::EventFacet::*</code> packages. This is rarely used however, the EventFacet packages are primarily for convenience and documentation. The EventFacet classes are not used at all internally, instead the raw data is used.</p>

<p>Here is a list of facet types by package. The packages are not used internally, but are where the documentation for each type is kept.</p>

<p><b>Note:</b> Every single facet type has the <code>&#39;details&#39;</code> field. This field is always intended for human consumption, and when provided, should explain the &#39;why&#39; for the facet. All other fields are facet specific.</p>

<dl>

<dt id="about-=&gt;-{...}"><a class="permalink" href="./Test2::Event.html#about-=%3E-%7B...%7D">#</a><a id="about"></a>about =&gt; {...}</dt>
<dd>

<p><a href="./Test2::EventFacet::About.html">Test2::EventFacet::About</a></p>

<p>This contains information about the event itself such as the event package name. The <code>details</code> field for this facet is an overall summary of the event.</p>

</dd>
<dt id="assert-=&gt;-{...}"><a class="permalink" href="./Test2::Event.html#assert-=%3E-%7B...%7D">#</a><a id="assert"></a>assert =&gt; {...}</dt>
<dd>

<p><a href="./Test2::EventFacet::Assert.html">Test2::EventFacet::Assert</a></p>

<p>This facet is used if an assertion was made. The <code>details</code> field of this facet is the description of the assertion.</p>

</dd>
<dt id="control-=&gt;-{...}"><a class="permalink" href="./Test2::Event.html#control-=%3E-%7B...%7D">#</a><a id="control"></a>control =&gt; {...}</dt>
<dd>

<p><a href="./Test2::EventFacet::Control.html">Test2::EventFacet::Control</a></p>

<p>This facet is used to tell the <a href="https://perldoc.perl.org/5.35.0/Test2::Event::Hub">Test2::Event::Hub</a> about special actions the event causes. Things like halting all testing, terminating the current test, etc. In this facet the <code>details</code> field explains why any special action was taken.</p>

<p><b>Note:</b> This is how bail-out is implemented.</p>

</dd>
<dt id="meta-=&gt;-{...}"><a class="permalink" href="./Test2::Event.html#meta-=%3E-%7B...%7D">#</a><a id="meta"></a>meta =&gt; {...}</dt>
<dd>

<p><a href="./Test2::EventFacet::Meta.html">Test2::EventFacet::Meta</a></p>

<p>The meta facet contains all the meta-data attached to the event. In this case the <code>details</code> field has no special meaning, but may be present if something sets the &#39;details&#39; meta-key on the event.</p>

</dd>
<dt id="parent-=&gt;-{...}"><a class="permalink" href="./Test2::Event.html#parent-=%3E-%7B...%7D">#</a><a id="parent"></a>parent =&gt; {...}</dt>
<dd>

<p><a href="./Test2::EventFacet::Parent.html">Test2::EventFacet::Parent</a></p>

<p>This facet contains nested events and similar details for subtests. In this facet the <code>details</code> field will typically be the name of the subtest.</p>

</dd>
<dt id="plan-=&gt;-{...}"><a class="permalink" href="./Test2::Event.html#plan-=%3E-%7B...%7D">#</a><a id="plan"></a>plan =&gt; {...}</dt>
<dd>

<p><a href="./Test2::EventFacet::Plan.html">Test2::EventFacet::Plan</a></p>

<p>This facet tells the system that a plan has been set. The <code>details</code> field of this is usually left empty, but when present explains why the plan is what it is, this is most useful if the plan is to skip-all.</p>

</dd>
<dt id="trace-=&gt;-{...}"><a class="permalink" href="./Test2::Event.html#trace-=%3E-%7B...%7D">#</a><a id="trace"></a>trace =&gt; {...}</dt>
<dd>

<p><a href="./Test2::EventFacet::Trace.html">Test2::EventFacet::Trace</a></p>

<p>This facet contains information related to when and where the event was generated. This is how the test file and line number of a failure is known. This facet can also help you to tell if tests are related.</p>

<p>In this facet the <code>details</code> field overrides the &quot;failed at test_file.t line 42.&quot; message provided on assertion failure.</p>

</dd>
<dt id="amnesty-=&gt;-[{...},-...]"><a class="permalink" href="./Test2::Event.html#amnesty-=%3E-%5B%7B...%7D,-...%5D">#</a><a id="amnesty"></a>amnesty =&gt; [{...}, ...]</dt>
<dd>

<p><a href="./Test2::EventFacet::Amnesty.html">Test2::EventFacet::Amnesty</a></p>

<p>The amnesty facet is a list instead of a single item, this is important as amnesty can come from multiple places at once.</p>

<p>For each instance of amnesty the <code>details</code> field explains why amnesty was granted.</p>

<p><b>Note:</b> Outside of formatters amnesty only acts to forgive a failing assertion.</p>

</dd>
<dt id="errors-=&gt;-[{...},-...]"><a class="permalink" href="./Test2::Event.html#errors-=%3E-%5B%7B...%7D,-...%5D">#</a><a id="errors"></a>errors =&gt; [{...}, ...]</dt>
<dd>

<p><a href="./Test2::EventFacet::Error.html">Test2::EventFacet::Error</a></p>

<p>The errors facet is a list instead of a single item, any number of errors can be listed. In this facet <code>details</code> describes the error, or may contain the raw error message itself (such as an exception). In perl exception may be blessed objects, as such the raw data for this facet may contain nested items which are blessed.</p>

<p>Not all errors are considered fatal, there is a <code>fail</code> field that must be set for an error to cause the test to fail.</p>

<p><b>Note:</b> This facet is unique in that the field name is &#39;errors&#39; while the package is &#39;Error&#39;. This is because this is the only facet type that is both a list, and has a name where the plural is not the same as the singular. This may cause some confusion, but I feel it will be less confusing than the alternative.</p>

</dd>
<dt id="info-=&gt;-[{...},-...]"><a class="permalink" href="./Test2::Event.html#info-=%3E-%5B%7B...%7D,-...%5D">#</a><a id="info"></a>info =&gt; [{...}, ...]</dt>
<dd>

<p><a href="./Test2::EventFacet::Info.html">Test2::EventFacet::Info</a></p>

<p>The &#39;info&#39; facet is a list instead of a single item, any quantity of extra information can be attached to an event. Some information may be critical diagnostics, others may be simply commentary in nature, this is determined by the <code>debug</code> flag.</p>

<p>For this facet the <code>details</code> flag is the info itself. This info may be a string, or it may be a data structure to display. This is one of the few facet types that may contain blessed items.</p>

</dd>
</dl>

<h2 id="LEGACY-API"><a class="permalink" href="./Test2::Event.html#LEGACY-API">#</a><a id="LEGACY"></a>LEGACY API</h2>

<dl>

<dt id="$bool-=-$e-&gt;causes_fail"><a class="permalink" href="./Test2::Event.html#$bool-=-$e-%3Ecauses_fail">#</a><a id="bool-e-causes_fail"></a>$bool = $e-&gt;causes_fail</dt>
<dd>

<p>Returns true if this event should result in a test failure. In general this should be false.</p>

</dd>
<dt id="$bool-=-$e-&gt;increments_count"><a class="permalink" href="./Test2::Event.html#$bool-=-$e-%3Eincrements_count">#</a><a id="bool-e-increments_count"></a>$bool = $e-&gt;increments_count</dt>
<dd>

<p>Should be true if this event should result in a test count increment.</p>

</dd>
<dt id="$e-&gt;callback($hub)"><a class="permalink" href="./Test2::Event.html#$e-%3Ecallback($hub)">#</a><a id="callback"></a><a id="e-callback-hub"></a>$e-&gt;callback($hub)</dt>
<dd>

<p>If your event needs to have extra effects on the <a href="./Test2::Hub.html">Test2::Hub</a> you can override this method.</p>

<p>This is called <b>BEFORE</b> your event is passed to the formatter.</p>

</dd>
<dt id="$num-=-$e-&gt;nested"><a class="permalink" href="./Test2::Event.html#$num-=-$e-%3Enested">#</a><a id="num-e-nested"></a>$num = $e-&gt;nested</dt>
<dd>

<p>If this event is nested inside of other events, this should be the depth of nesting. (This is mainly for subtests)</p>

</dd>
<dt id="$bool-=-$e-&gt;global"><a class="permalink" href="./Test2::Event.html#$bool-=-$e-%3Eglobal">#</a><a id="bool-e-global"></a>$bool = $e-&gt;global</dt>
<dd>

<p>Set this to true if your event is global, that is ALL threads and processes should see it no matter when or where it is generated. This is not a common thing to want, it is used by bail-out and skip_all to end testing.</p>

</dd>
<dt id="$code-=-$e-&gt;terminate"><a class="permalink" href="./Test2::Event.html#$code-=-$e-%3Eterminate">#</a><a id="code-e-terminate"></a>$code = $e-&gt;terminate</dt>
<dd>

<p>This is called <b>AFTER</b> your event has been passed to the formatter. This should normally return undef, only change this if your event should cause the test to exit immediately.</p>

<p>If you want this event to cause the test to exit you should return the exit code here. Exit code of 0 means exit success, any other integer means exit with failure.</p>

<p>This is used by <a href="./Test2::Event::Plan.html">Test2::Event::Plan</a> to exit 0 when the plan is &#39;skip_all&#39;. This is also used by <a href="https://perldoc.perl.org/5.35.0/Test2::Event:Bail">Test2::Event:Bail</a> to force the test to exit with a failure.</p>

<p>This is called after the event has been sent to the formatter in order to ensure the event is seen and understood.</p>

</dd>
<dt id="$msg-=-$e-&gt;summary"><a class="permalink" href="./Test2::Event.html#$msg-=-$e-%3Esummary">#</a><a id="msg-e-summary"></a>$msg = $e-&gt;summary</dt>
<dd>

<p>This is intended to be a human readable summary of the event. This should ideally only be one line long, but you can use multiple lines if necessary. This is intended for human consumption. You do not need to make it easy for machines to understand.</p>

<p>The default is to simply return the event package name.</p>

</dd>
<dt id="($count,-$directive,-$reason)-=-$e-&gt;sets_plan()"><a class="permalink" href="./Test2::Event.html#($count,-$directive,-$reason)-=-$e-%3Esets_plan()">#</a><a id="count-directive-reason-e-sets_plan"></a>($count, $directive, $reason) = $e-&gt;sets_plan()</dt>
<dd>

<p>Check if this event sets the testing plan. It will return an empty list if it does not. If it does set the plan it will return a list of 1 to 3 items in order: Expected Test Count, Test Directive, Reason for directive.</p>

</dd>
<dt id="$bool-=-$e-&gt;diagnostics"><a class="permalink" href="./Test2::Event.html#$bool-=-$e-%3Ediagnostics">#</a><a id="bool-e-diagnostics"></a>$bool = $e-&gt;diagnostics</dt>
<dd>

<p>True if the event contains diagnostics info. This is useful because a non-verbose harness may choose to hide events that are not in this category. Some formatters may choose to send these to STDERR instead of STDOUT to ensure they are seen.</p>

</dd>
<dt id="$bool-=-$e-&gt;no_display"><a class="permalink" href="./Test2::Event.html#$bool-=-$e-%3Eno_display">#</a><a id="bool-e-no_display"></a>$bool = $e-&gt;no_display</dt>
<dd>

<p>False by default. This will return true on events that should not be displayed by formatters.</p>

</dd>
<dt id="$id-=-$e-&gt;in_subtest"><a class="permalink" href="./Test2::Event.html#$id-=-$e-%3Ein_subtest">#</a><a id="id-e-in_subtest"></a>$id = $e-&gt;in_subtest</dt>
<dd>

<p>If the event is inside a subtest this should have the subtest ID.</p>

</dd>
<dt id="$id-=-$e-&gt;subtest_id"><a class="permalink" href="./Test2::Event.html#$id-=-$e-%3Esubtest_id">#</a><a id="id-e-subtest_id"></a>$id = $e-&gt;subtest_id</dt>
<dd>

<p>If the event is a final subtest event, this should contain the subtest ID.</p>

</dd>
</dl>

<h1 id="THIRD-PARTY-META-DATA"><a class="permalink" href="./Test2::Event.html#THIRD-PARTY-META-DATA">#</a><a id="THIRD"></a>THIRD PARTY META-DATA</h1>

<p>This object consumes <a href="./Test2::Util::ExternalMeta.html">Test2::Util::ExternalMeta</a> which provides a consistent way for you to attach meta-data to instances of this class. This is useful for tools, plugins, and other extensions.</p>

<h1 id="SOURCE"><a class="permalink" href="./Test2::Event.html#SOURCE">#</a>SOURCE</h1>

<p>The source code repository for Test2 can be found at <i>http://github.com/Test-More/test-more/</i>.</p>

<h1 id="MAINTAINERS"><a class="permalink" href="./Test2::Event.html#MAINTAINERS">#</a>MAINTAINERS</h1>

<dl>

<dt id="Chad-Granum"><a class="permalink" href="./Test2::Event.html#Chad-Granum">#</a><a id="Chad-Granum-&lt;exodist@cpan.org&gt;"></a><a id="Chad"></a><a id="Chad-Granum-exodist-cpan.org"></a>Chad Granum &lt;exodist@cpan.org&gt;</dt>
<dd>

</dd>
</dl>

<h1 id="AUTHORS"><a class="permalink" href="./Test2::Event.html#AUTHORS">#</a>AUTHORS</h1>

<dl>

<dt id="Chad-Granum1"><a class="permalink" href="./Test2::Event.html#Chad-Granum1">#</a><a id="Chad-Granum-&lt;exodist@cpan.org&gt;1"></a><a id="Chad1"></a><a id="Chad-Granum-exodist-cpan.org1"></a>Chad Granum &lt;exodist@cpan.org&gt;</dt>
<dd>

</dd>
</dl>

<h1 id="COPYRIGHT"><a class="permalink" href="./Test2::Event.html#COPYRIGHT">#</a>COPYRIGHT</h1>

<p>Copyright 2020 Chad Granum &lt;exodist@cpan.org&gt;.</p>

<p>This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p>

<p>See <i>http://dev.perl.org/licenses/</i></p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
